package sy.model;

import java.beans.Transient;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.fasterxml.jackson.annotation.JsonProperty;

@Entity
@Table(name = "bluetoothcard", catalog = "ssh")
public class BluetoothCard implements java.io.Serializable{
	private Integer id;
	private String currentCardStr;
    private String name;
    private String address;
    private String communitySign;
    private String version;
    private String model;
    private int rssi;
    private String accountId;
    private String identity;
	
	public BluetoothCard() {
		super();
	}
	@Id
	@GeneratedValue
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	@Column(name = "currentCardStr")
	public String getCurrentCardStr() {
		return currentCardStr;
	}
	public void setCurrentCardStr(String currentCardStr) {
		this.currentCardStr = currentCardStr;
	}
	@Column(name = "name")
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	@Column(name = "address")
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	@Column(name = "communitySign")
	public String getCommunitySign() {
		return communitySign;
	}
	public void setCommunitySign(String communitySign) {
		this.communitySign = communitySign;
	}
	@Column(name = "version")
	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version;
	}
	@Column(name = "model")
	public String getModel() {
		return model;
	}
	public void setModel(String model) {
		this.model = model;
	}
	@Column(name = "rssi")
	public int getRssi() {
		return rssi;
	}
	public void setRssi(int rssi) {
		this.rssi = rssi;
	}
	@Column(name = "accountId")
	public String getAccountId() {
		return accountId;
	}
	public void setAccountId(String accountId) {
		this.accountId = accountId;
	}
	@Column(name = "identity")
	public String getIdentity() {
		return identity;
	}
	public void setIdentity(String identity) {
		this.identity = identity;
	}
	
	
}
